home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / devel / db / esm-3.1 / esm-3 / usr / local / sm / src / mksedscript.c < prev    next >
Encoding:
C/C++ Source or Header  |  1996-05-05  |  315 b   |  23 lines

  1. /*
  2.  *   $RCSfile: mksedscript.c,v $  
  3.  *   $Revision: 1.1.1.1 $  
  4.  *   $Date: 1996/05/04 21:55:06 $      
  5.  */ 
  6. #include <stdio.h>
  7.  
  8. extern 
  9. #ifdef __cplusplus
  10.         "C"
  11. #endif 
  12.             void exit (int );
  13.  
  14. main(
  15.     int argc,
  16.     char *argv[]
  17. )
  18. {
  19.     printf("1,$s=^\\([^    ]*\\)\\(\t\\)\\([^/]\\)=\\1\\2%s/\\3=\n",
  20.     *++argv);
  21.     exit(0);
  22. }
  23.